<%@ page contentType="text/html; charset=utf-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>区县编辑</title>
</head>
<body>
    <h2>修改区县</h2>
    <!-- 相当于request.getAttribute("errorMsg"); -->
    ${errorMsg}
    <form action="${pageContext.request.contextPath}/rent/district/update" method="post">
        <!-- dis.id 相当于 dis.getId(); -->
        <input type="hidden" name="id" value="${dis.id }">
        <label>
            区县名称：
            <input type="text" name="name"
                   value="${dis.name}">
        </label><br>
        <button>修改</button>
    </form>

</body>
</html>